All Questions
107 questions
0votes
0answers
78views
Automating the moving of files
I'm running a simulation for a project. Each simulation run generates many .dat files. So, essentially, I'm getting Z_image_000.dat to Z_image_276.dat. I'm running multiple simulations in a day, so ...
0votes
1answer
82views
cleaning up full directories at once
right now, i have a filesystem that fills up fairly regularly. the TL;DR is that I can't introduce better log rotation, and the files must be deleted regularly. let's say i have the following output ...
0votes
0answers
203views
Ubuntu - trying to delete a file that has no inode
I try to delete a file that is left in a directory, but even an ls -i will not give me an inode to remove it. Deleting/removing the directory won't work even with the inode. $ ls -ila ls: cannot ...
0votes
2answers
317views
How to locate installation path for software that I am able to open but I do not know the name of?
The title is a bit confusing and I am a bit of a noob when it comes to linux. Basically, I have a form of qBittorrent which did not allow me to use magnet links the convenient way, I would need to ...
0votes
0answers
137views
Remove write permission but keep delete permission
This is an odd one, a file in my server is written to once every boot by one of the services in it. I found out that another process (that I have no control of) keeps changing the contents, so I made ...
1vote
1answer
992views
What is the max size limit for using split and cat combination?
I have backed up a file in zip format on Ubuntu whose size is 6.5GB. Trying to transfer it to a USB stick so needed to split since I got error “file size too large” while copying. (Ideally I want my ...
0votes
0answers
50views
Getting "source output path is invalid" after upgrade to Ubuntu 18.04
We have a very puzzling error after upgrading a build server from Ubuntu 16.04 to 18.04. An in-house developed tool suddenly starts failing with: ERROR: source input path /local/mnt/workspace/dir-name/...
0votes
2answers
849views
Find folders who have at least two files over 100 MB?
How can I only list folders who have at least two files over 100 MB in them?
2votes
1answer
1kviews
Standardized directory for user-specific app data
I know all applications store user-specific data in the $HOME directory, but it seems that (some) more "modern"/recent applications has a preference for stuffing their settings and ...
0votes
1answer
26views
Procedurally renaming files in Ubuntu [duplicate]
I have a bunch of files names topic1.pdf, topic2.pdf, ... which I want to rename to newName1.pdf, ... is there any way this can be done 'neatly' as in something like $ mv topic*.pdf newName*.pdf?
0votes
1answer
414views
Why does an empty file not allocate any disk space?
I am on Ubuntu 20.04.5 and my file system is ext4 . I create an empty file and check its allocated size: ➜ touch test_file ➜ ls -s total 0 0 test_file I then echo one character into the file and ...
5votes
1answer
2kviews
How to set the default application to open folders?
I'm really stuck; I want to add Open with vs code to the folders context menu following the same approach as for files by means of the so-called MIME; editing the file ~/.config/mimeapps.list allows ...
0votes
2answers
488views
How to make a folder can't be deleted and be modified folder name. But you can still add files in it?
I want to make a shared disk with people online using ubuntu VPS. So as the title says, I want to make a folder can't be deleted and be modified folder name. But you can still add files in it (it's ...
-3votes
1answer
772views
Is it ok to delete the /srv directory?
Is it okay to remove the srv$ directory in Kubuntu 20.04 There seems to be no files contained inside and it will clear up the structure. after research I found that it was very much up to what I want ...
0votes
1answer
60views
ubuntu-touch: some unknown uid and gid on system files
I have this strange situation in ubuntu-touch 65097 12 drwxrwxr-x 3 1005 1006 12288 Feb 23 00:34 /etc/init 10548 4 drwxrwxr-x 2 1005 1006 4096 Aug 12 1972 /...